package com.wx.day05.Annotation_aop.test2;

import org.springframework.stereotype.Service;

@Service
public class Calculateimpl_cglib {

    public Integer multiply(int a, int b) {
        //System.out.println("target: " + a + "..." + b + " time is : " + System.currentTimeMillis());
        return a * b;
    }


    public Integer divide(int a, int b) {
        //System.out.println("target: " + a + "..." + b + " time is : " + System.currentTimeMillis());
        return a / b;
    }


    public Integer subtract(int a, int b) {
        //System.out.println("target: " + a + "..." + b + " time is : " + System.currentTimeMillis());
        return a - b;
    }


    public Integer add(int a, int b) {
        //System.out.println("target: " + a + "..." + b + " time is : " + System.currentTimeMillis());
        return a + b;
    }
}
